var DATAGRID;
var WFBTN;
var BUSSINESS_WINDOW;
var ROW;

$(function(){
	
	//PANEL_INIT(GETID('affairsBeDealtWithPanel'));
	//获取工作流按钮组件
	
	
	DATAGRID = $('#affairsBeDealtWithDataGrid');
	
	var URL = 'workflowTasksAjax!loadCurUserTasksData';
	var COLUMNS = [{field:'processName',title:'流程名称',width:200}, 
	               {field:'taskName',title:'任务名称',width:200},
	               {field:'assigne',title:'执行人',width:80},
	               {field:'createTime',title:'创建时间',width:150}];
	//var TOOLBAR = '#affairsBeDealtWithPanel';
	//初始化数据表
	DG_WF_INIT(DATAGRID, URL, COLUMNS, true, true);
	//初始化分页
	DG_PAGE_INIT(DATAGRID, URL, null);
});

